<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<title>首页</title>
		<link href="<?=base_url("templates/default")?>/bootstrap/css/bootstrap.min.css" rel="stylesheet">
		<script src="<?=base_url("templates/default")?>/js/jquery.min.js"></script>
		<script src="<?=base_url("templates/default")?>/bootstrap/js/bootstrap.min.js"></script>
		<link rel="stylesheet" href="<?=base_url("templates/default")?>/css/style.css" />
	</head>
	<body>
		<div class="cong-head">
			<nav class="navbar navbar-default nav_top">
				<h4 class="navbar-text">宠物圈</h4>
			</nav>
			<div class="a_list">
				<ul class="list-group clearfix cong-ul-01">
					<li class="list-group-item col-xs-3 active1"><a href="<?php echo base_url("").'home/index/';?>"><span>首页</span></a></li>
					<li class="list-group-item col-xs-3"><a href="<?php echo base_url().'forum/index/';?>"><span>版块</span></a></li>
					<li class="list-group-item col-xs-3"><a href="<?php echo base_url().'shop/index/';?>"><span>商城</span></a></li>
					<li class="list-group-item col-xs-3"><a href="<?php echo base_url().'activity/index/';?>"><span>活动</span></a></li>
				</ul>
			</div> 
		</div>
			<div class="container">
				<div class="act-top"><h3>活动列表</h3></div>
		        <ul class="act-ul-01">
		          <?php foreach ($Act1 as $eachact){ ?>
		            <li>
		            	<a href="<?php echo base_url().'actone/index/'.$eachact['id'];?>">
		            		<img src="<?php echo base_url('attachments'.$eachact['focus']);?>" class="img-thumbnail" >
		            		<p><?php echo $eachact['activity_name'];?></p>
		            	</a>	
		            </li>
		          <?php }?>
		        <!--  
		            <li>
		            	<a href="#">
		            		<img src="img/run4.jpg" class="img-thumbnail" >
		            		<p>外貌设计大赛</p>
		            	</a>	
		            </li>
		            <li>
		            	<a href="#">
		            		<img src="img/run3.jpg" class="img-thumbnail" >
		            		<p>游泳比赛</p>
		            	</a>	
		            </li>
		          -->
		        </ul>
    </div>
	</body>
</html>
